// eslint-disable-next-line import/prefer-default-export
export const SET_CURRENT_CATEGORY = 'SET_CURRENT_CATEGORY';
export const VALIDATE = 'VALIDATE';

export const LOGIN = 'LOGIN';
export const LOGOUT = 'LOGOUT';
export const REGISTER = 'REGISTER';

export const CHANGE_AVATAR = "CHANGE_AVATAR";

// home
export const GET_SLIDERS = "GET_SLIDERS";

export const SET_LESSONS_LOADING = "SET_LESSIONS_LOADING";
export const SET_LESSONS = "SET_LESSIONS";
export const REFRESH_LESSONS = "REFRESH_LESSIONS";

export const REMOVE_CART_ITEM = "REMOVE_CART_ITEM"; // 从购物车中删除一个商品
export const CLEAR_CART_ITEMS = "CLEAR_CART_ITEMS"; // 清空购物车
export const CHANGE_CART_ITEM_COUNT = "CHANGE_CART_ITEM_COUNT"; // 直接修改购物车商品的数量减1
export const CHANGE_CHECKED_CART_ITEMS = "CHANGE_CHECKED_CART_ITEMS"; // 选中商品
export const SETTLE = "SETTLE"; // 结算